home *** CD-ROM | disk | FTP | other *** search
- Short: Fast CRC tools & sources (PPC and 68k)
- Type: dev/c
- Uploader: Andreas_Kleinert@t-online.de
- Author: unknown
- Replaces: crc.lha
-
- CRC2, CRCFast and CRCTab ports for 68k and PPC,
- including sources. Author unknown.
-
- The difference 68k -> PPC gets significant
- on large files, e.g. greater 1 MB.
-
- 1.0: - PPC/68k port for Amiga
- 1.1: - changed "unsigned int" to "unsigned short int" in
- both, crc2.c and crcfast.c
- - no more regargs for the 68k version (PPC, too)
- - fixed array overflow in crcfast.c
- - hopefully works ok now - if not, feel free to
- send bug reports by *email*
-
- --
- ARK, 17/Mar/98
-
- *************************************************************************************
-
- Cyclic Redundancy Check
- ---------------------------------------------------------
-
- This archive includes the following three files:
-
- crc2.c Computes crc by bit shifting
- crcfast.c Computes crc by table lookup
- crctab.c Computes tables used in crcfast.c
- crc.doc This file
-
- The utilities crc2 and crcfast compute the cyclic redundancy checks
- for both the crc-16 (used in arc files) and crc-ccitt (used in xmodem).
- crcfast is faster than crc2. These routines compute the crc's for a
- given file as a means of checking data integrity.
- These routines compile without change under Turbo C. All are
- short and illustrate the basic principles of crc calculations.
-
-
-
- CRC References:
-
- C Programmer's Guide to Serial Communications, J. Compbell,
- Howard W. Sams & Co.,(1987)
-
- The Great CRC Mystery, T. Ritter, Dr. Dobb's Journal,
- (February 1986)
-
- Byte-Wise CRC Calculations, A. Perez, Wismer, & Becker,
- IEEE Micro, (June 1983)
-
- *************************************************************************************
-